#ifndef NR_IO_MANAGER_H
#define NR_IO_MANAGER_H

#include <QtXml/QDomDocument>
#include "nr_io.h"

class nr_io_manager : nr_object
{
public:
    nr_io_manager(void);
    ~nr_io_manager(void);
        
    nr_error_t load();
    nr_error_t unload();
    nr_error_t read_IOConfigs_FromXML();
    
    nr_io* io() { return m_io; }
    
private:
    nr_io *m_io;
    QString m_Type;
    QString m_Host;
    QString m_Port;
    QString m_Usernamne;
    QString m_Password;
};

#endif